package pl.com.like.sequoia.biojava.util;

import pl.com.like.sequoia.exceptions.LogicalException;
import pl.com.like.sequoia.model.bio.BioObjectHandler;

/**
 * Interface for getting content of files supported by application.
 * 
 * @author Pawel Wolanski
 * 
 */
public interface IConnectService {

	/**
	 * Method used for getting fasta files from Genbank database
	 * 
	 * @param idFile unique key of FASTA file
	 * @return file handler to downloaded result
	 * @throws LogicalException
	 */
	// public abstract File getFileInfo(String idFile) throws LogicalException;

	public abstract BioObjectHandler getObject(String idObject) throws LogicalException;

	// /**
	// * Get search result
	// */
	// public abstract List<BioObjectHandler> getSearchList(String idObject, Integer size, Boolean extendedSearch);

}
